package cn.huiyunche.base.service.vo;

/**
 * Created by houjianhui on 2017/7/12.
 */
public class QueueDriverVo implements Comparable<QueueDriverVo>{
    private String name;
    private String phone;
    private Integer queue;
    private String license;
    private String purpose;
    private String queueTime;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getQueue() {
        return queue;
    }

    public void setQueue(Integer queue) {
        this.queue = queue;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public String getQueueTime() {
        return queueTime;
    }

    public void setQueueTime(String queueTime) {
        this.queueTime = queueTime;
    }

    @Override
    public String toString() {
        return "QueueDriverVo{" +
                "name='" + name + '\'' +
                ", phone='" + phone + '\'' +
                ", queue=" + queue +
                ", license='" + license + '\'' +
                ", purpose='" + purpose + '\'' +
                ", queueTime='" + queueTime + '\'' +
                '}';
    }

    @Override
    public int compareTo(QueueDriverVo o) {
        return this.queue - o.queue;
    }
}
